package test00.lx05.test02;

import java.util.Scanner;
import java.util.function.Predicate;

/**
 * @author CSY
 * @date 2025 - 04 - 02
 */
public class MainTest01 {
    public static void main(String[] args) {
        Predicate<Integer> predicate = new Predicate<Integer>() {
            @Override
            public boolean test(Integer integer) {
                return integer >= 60;
            }
        };
        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();
        if (!predicate.test(i)){
            System.out.println("您的成绩不合格！");
            return;
        }
        System.out.println("您的成绩合格！");
    }
}
